<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;

class Industry extends Model
{
    //
    protected $table = "industry";
    public $timestamps = false;

    /**
     * 获取未禁用的行业信息
     * @return mixed
     */
    public static function getAll() {
        $res = self::where('status',1)->get();
        return $res;
    }
}
